/**
 * 文件比对系统 - 系统配置路由
 */
import Layout from '@/layout'

// 基础数据路由
const sysConfigRoutes = {
  path: '/plat/platConfig',
  component: Layout,
  redirect: '/basic/platConfig/sysConfiguration',
  name: '系统配置',
  meta: {
    title: '系统配置',
    icon: 'example',
    rightsKey: '/plat/platConfig'
  },
  children: [
    {
      path: 'sysConfiguration',
      meta: { title: '配置项', rightsKey: '/plat/platConfig/sysConfiguration' },
      name: 'SysConfiguration',
      component: () => import('@/views/plat/platConfig/sysConfiguration')
    },
    {
      path: 'updateOrAddsysCode',
      meta: { title: '编辑编码库', hidden: true, activeMenu: '/plat/platConfig/sysCode' },
      name: 'UpdateOrAddsysCode',
      component: () => import('@/views/plat/platConfig/updateOrAddsysCode')
    },
    {
      path: 'sysCode',
      meta: { title: '编码库', rightsKey: '/plat/platConfig/sysCode' },
      name: 'SysCode',
      component: () => import('@/views/plat/platConfig/sysCode')
    },
    {
      path: 'updateSysConfiguration',
      meta: { title: '编辑配置项', hidden: true, activeMenu: '/plat/platConfig/sysConfiguration' },
      name: 'UpdateSysConfiguration',
      component: () => import('@/views/plat/platConfig/updateSysConfiguration')
    }
  ]
}
export { sysConfigRoutes }
